home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 095 / rfix0424.arc / RVAR0424.BAS < prev   
BASIC Source File  |  1988-04-16  |  15KB  |  521 lines

  1. ' $SUBTITLE: 'Arrays passed between various components of RBBS-PC'
  2. ' $PAGE
  3.    DEFINT A-Z
  4. '
  5. ' The following static arrays are passed between the various subroutines
  6. ' within RBBS-PC.
  7. '
  8.     DIM COM.PORT.ADDRESS(7)           ' COM Port Hardware Addresses
  9.     DIM HELP$(9)                      ' Help file names
  10.     DIM LG$(12)                       ' 12 Work variables.
  11.     DIM MENU$(7)                      ' Menu file names
  12.     DIM SUBDIR$(99)                   ' Download Sub-Dirs            ' TF040301
  13. ' $SUBTITLE: 'Variables passed between various components of RBBS-PC'
  14. ' $PAGE
  15. '
  16. ' The following variables are passed between the various and
  17. ' seperately compiled subroutines used by RBBS-PC.
  18. '
  19.    COMMON SHARED _
  20.           A$, _
  21.           A$(1), _
  22.           A, _
  23.           ABORT, _
  24.           ACKNOWLEDGE$, _
  25.           ACTIVE.BULLETINS, _
  26.           ACTIVE.MENU$, _
  27.           ACTIVE.MESSAGE$, _
  28.           ACTIVE.MESSAGE.FILE$, _
  29.           ACTIVE.USER.FILE$, _
  30.           ACTIVE.USER.NAME$, _
  31.           ADJUSTED.SECURITY, _
  32.           ALL.OPTS$, _
  33.           ALLOW.CALLER.TURBO, _
  34.           ALTDIR.EXTENSION$, _
  35.           ALWAYS.STREW.TO$, _
  36.           ANS.INDEX, _
  37.           ANS.MENU$, _
  38.           ARC.WORK$, _
  39.           ASK.IDENTITY, _
  40.           ATTEMPTS.ALLOWED, _
  41.           AUTODOWNLOAD.AVAILABLE, _
  42.           AUTODOWNLOAD.DESIRED, _
  43.           AUTODOWNLOAD.IN.PROGRESS, _
  44.           AUTODOWNLOAD.VERIFIED, _
  45.           AUTO.LOGOFF!, _
  46.           B$, _
  47.           B$(1), _
  48.           B, _
  49.           BACK.ARROW$, _
  50.           BACKSPACE$, _
  51.           BAUD.PARITY$, _
  52.           BAUD.RATE.DIVISOR, _
  53.           BAUD.TEST, _
  54.           BAUDOT, _
  55.           BEG.FILE, _
  56.           BEG.LIBRARY, _
  57.           BEG.MAIN, _
  58.           BEG.UTIL, _
  59.           BG, _
  60.           BLK, _
  61.           BLOCK.SIZE, _
  62.           BLOCKS.IN.FILE#, _
  63.           BPS, _
  64.           BORDER, _
  65.           BUFFER.SIZE, _
  66.           BULLETIN.MENU$, _
  67.           BULLETIN.PREFIX$, _
  68.           BULLETIN.SAVE$, _
  69.           BULLETINS.OPTIONAL, _
  70.           BYPASS.MSGS, _
  71.           BYPASS.TIME.CHECK, _
  72.           BYTES.IN.FILE#, _
  73.           C, _
  74.           C.C, _
  75.           C.L, _
  76.           CALLBACK.VERIFICATION, _
  77.           CALLERS.FILE$, _
  78.           CALLERS.FILE.INDEX!, _
  79.           CALLERS.OPTS$, _
  80.           CALLERS.RECORD$, _
  81.           CAN.DOWNLOAD.FROM.UP, _
  82.           CANCEL$, _
  83.           CARRIAGE.RETURN$, _
  84.           CHAT.AVAILABLE, _
  85.           CHECKSUM, _
  86.           CHECK.BULLETIN.LOGON, _
  87.           CI$, _
  88.           CITY.STATE$, _
  89.           CM, _
  90.           CN$, _
  91.           COM.PORT.ADDRESS(), _
  92.           COM.PORT$, _
  93.           COM.PROGRAM, _
  94.           COMMAND.TRANSFER$, _
  95.           COMMANDS.BETWEEN.RINGS, _
  96.           COMMANDS.IN.PROMPT, _
  97.           COMMENTS.AS.MESSAGES, _
  98.           COMMENTS.FILE$, _
  99.           COMMPORT.STACK$, _
  100.           COMPUTER.TYPE, _
  101.           CONFERENCE.MODE, _
  102.           CONFERENCE.MENU$, _
  103.           CONCAT.FILES, _
  104.           CONFIG.FILENAME$, _
  105.           CR, _
  106.           CURRENT.DATE$, _
  107.           CURRENT.DEF$, _
  108.           CURRENT.PUI$, _
  109.           CURSOR.LINE, _
  110.           CURSOR.ROW, _
  111.           CUSTOM.PUI, _
  112.           DAYS.IN.REGISTRATION.PERIOD, _
  113.           DAYS.TO.WARN, _
  114.           DEBUG, _
  115.           DEFAULT.CATEGORY.CODE$, _
  116.           DEFAULT.ECHOER$, _
  117.           DEFAULT.LINE.ACK$, _
  118.           DEFAULT.MACHINE.TYPE$, _
  119.           DEFAULT.SECURITY.LEVEL, _
  120.           DELAY!, _
  121.           DELETE.INVALID, _
  122.           DELETED.MESSAGE$, _
  123.           DENY.ACCESS, _
  124.           DF, _
  125.           DF$, _
  126.           DFLTPRTO$, _
  127.           DFLTXFER$, _
  128.           DIR.CATEGORY.FILE$, _
  129.           DIR.PROMPT$, _
  130.           DIRECTORY.EXTENTION$, _
  131.           DIRECTORY.PATH$, _
  132.           DIRECTORY.PREFIX$, _
  133.           DISK.FOR.DOS$, _
  134.           DISKFULL.GO.OFFLINE, _
  135.           DOORS.AVAILABLE, _
  136.           DOORS.SECURITY.LEVEL, _
  137.           DOORS.TERMINAL.TYPE, _
  138.           DOS.VERSION, _
  139.           DOSANSI, _                                                 ' TF041602
  140.           DOWNLOADS, _
  141.           DOWNLOAD.DRIVES$, _
  142.           DOWNLOAD.RECORD$, _
  143.           DTR.DROP.DELAY, _
  144.           DUMB.MODEM, _
  145.           DWN.INDEX, _
  146.           EC, _
  147.           ECHOER$, _
  148.           EIGHT.BIT, _
  149.           ELAPSED.TIME, _
  150.           ELAPSED.TIME$, _
  151.           EN$, _
  152.           END.OFFICE.HOURS, _
  153.           END.TIME, _
  154.           ENFORCE.UPLOAD.DOWNLOAD.RATIOS, _
  155.           EOL, _
  156.           EPILOG$, _
  157.           ESCAPE$, _
  158.           EXIT.TO.DOORS, _
  159.           EXPIRATION.DATE$, _
  160.           EXPIRED.SECURITY, _
  161.           EXPECT.ACTIVE.MODEM, _
  162.           EXPERT.USER, _
  163.           EXTENDED.LOGGING, _
  164.           F1.KEY, _
  165.           F7.MESSAGE$, _
  166.           F10.KEY, _
  167.           FALSE, _
  168.           FF, _
  169.           FG, _
  170.           FILE.PASSWORD$, _
  171.           FILE.SECURITY, _
  172.           FILE.NAME$, _
  173.           FILE.NAME.HOLD$, _
  174.           FILE.OPTS$, _
  175.           FILESEC.FILE$, _
  176.           FIRST.NAME$, _
  177.           FIRST.NAME.PROMPT$, _
  178.           FIRST.NAME.END, _
  179.           FLEN, _
  180.           FLOW.CONTROL, _
  181.           FMS.DIRECTORY$, _
  182.           FREE.SPACE$, _
  183.           FREESPACE.UPLOAD.FILE$, _
  184.           FT$, _
  185.           FUNCTION.KEY, _
  186.           GO.TO.SHELL, _
  187.           GR, _
  188.           GRN$, _
  189.           HALT.ON.ERROR, _
  190.           HH, _
  191.           HHH, _
  192.           HELP$(), _
  193.           HELP.EXTENSION$, _
  194.           HELP.PATH$, _
  195.           HIDDEN, _
  196.           HOME.CONFERENCE$, _
  197.           HOST.ECHO.OFF$, _
  198.           HOST.ECHO.ON$, _
  199.           INTERRUPT.ON$, _
  200.           INVALID.FILE.OPTS$, _
  201.           INVALID.MAIN.OPTS$, _
  202.           INVALID.OPTS$, _
  203.           INVALID.LIBRARY.OPTS$, _
  204.           INVALID.SYS.OPTS$, _
  205.           INVALID.UTIL.OPTS$, _
  206.           KEEP.INIT.BAUD, _
  207.           KEEP.TIME.CREDITS, _
  208.           KERMIT.EXE.FILE$, _
  209.           KERMIT.SUPPORT, _
  210.           KEY.PRESSED, _
  211.           KEY.PRESSED$, _
  212.           KEYBOARD.STACK$, _
  213.           KILL.MESSAGE, _
  214.           LAST.DATE.TIME.ON$, _
  215.           LAST.DATE.TIME.ON.SAVE$, _
  216.           LAST.INDEX, _
  217.           LAST.MESSAGE.READ, _
  218.           LAST.NAME$, _
  219.           LAST.NAME.PROMPT$, _
  220.           LAST.NAME.END, _
  221.           LEN.HASH, _
  222.           LEN.INDIV, _
  223.           LG$(), _
  224.           LIBRARY.ARCHIVE.PATH$, _
  225.           LIBRARY.ARCHIVE.PROGRAM$, _
  226.           LIBRARY.DIRECTORY$, _
  227.           LIBRARY.DIRECTORY.EXTENTION$, _
  228.           LIBRARY.DIRECTORY.PATH$, _
  229.           LIBRARY.DISK.CHAR$, _
  230.           LIBRARY.DRIVE$, _
  231.           LIBRARY.MAX.DISK, _
  232.           LIBRARY.MAX.DIRECTORY, _
  233.           LIBRARY.MAX.SUBDIR, _
  234.           LIBRARY.NODE.ID$, _
  235.           LIBRARY.OPTS$, _
  236.           LIBRARY.SUBDIR.PREFIX$, _
  237.           LIBRARY.TYPE, _
  238.           LIBRARY.WORK.DISK.PATH$, _
  239.           LIMIT.SEARCH.TO.FMS, _
  240.           LINE.25$, _
  241.           LINE.25.HOLD$, _
  242.           LINE.CONTROL.REGISTER, _
  243.           LINE.FEED$, _
  244.           LINE.FEEDS, _
  245.           LINE.STATUS.REGISTER, _
  246.           LINEEDIT.CHK$, _
  247.           LINEMES$, _
  248.           LINES.IN.MESSAGE, _
  249.           LINES.IN.MESSAGE.SAVE, _
  250.           LINES.PRINTED, _
  251.           LIST.DIRECTORY, _
  252.           LIST.INDEX, _
  253.           LIST.NEW.DATE$, _
  254.           LOCAL.BACKSPACE$, _
  255.           LOCAL.PASSWORD$, _
  256.           LOCAL.USER, _
  257.           LOCAL.USER.MODE, _
  258.           LOCK.DRIVE, _
  259.           LOCK.FILE.NAME$, _
  260.           LOCK.STATUS$, _
  261.           LOGON.ACTIVE, _
  262.           LOGON.ERROR.INDEX, _
  263.           LSB
  264. COMMON SHARED _
  265.           M(2), _
  266.           MACHINE.TYPE$, _
  267.           MAIN.DIRECTORY.EXTENTION$, _
  268.           MAIN.FMS.DIRECTORY$, _
  269.           MAIN.MESSAGE.BACKUP$, _
  270.           MAIN.MESSAGE.FILE$, _
  271.           MAIN.OPTS$, _
  272.           MAIN.PUI$, _
  273.           MAIN.USER.FILE$, _
  274.           MAIN.USER.FILE.INDEX, _
  275.           MASTER.DIRECTORY.NAME$, _
  276.           MAX.DESC.LEN, _
  277.           MAX.MESSAGE.LINES, _
  278.           MAX.PER.DAY,_
  279.           MAXIMUM.NUMBER.OF.NODES, _
  280.           MAXIMUM.PASSWORD.CHANGES, _
  281.           MAXIMUM.VIOLATIONS, _
  282.           MENU$(), _
  283.           MENU.INDEX, _
  284.           MENUS.CAN.PAUSE, _
  285.           MESSAGE.DIM.INDEX, _
  286.           MESSAGE.DIM.INDEX.SAVE, _
  287.           MESSAGE.FILE.LOCK, _
  288.           MESSAGE.PASSWORD, _
  289.           MESSAGE.RECORD$, _
  290.           MESSAGE.REMINDER, _
  291.           MIN.NEWCALLER.BAUD, _
  292.           MIN.OLDCALLER.BAUD, _
  293.           MIN.SEC.TO.VIEW, _
  294.           MINIMUM.LOGON.SECURITY, _
  295.           MINIMUM.SECURITY.FOR.TEMP.PASSWORD, _
  296.           MINUTES.PER.SESSION!, _
  297.           MLCOM, _
  298.           MMM, _
  299.           MNP.SUPPORT, _
  300.           MODEM.ANSWER.COMMAND$, _
  301.           MODEM.COMMAND.DELAY.TIME, _
  302.           MODEM.CONTROL.REGISTER, _
  303.           MODEM.COUNT.RINGS.COMMAND$, _
  304.           MODEM.GO.OFFHOOK.COMMAND$, _
  305.           MODEM.INIT.BAUD$, _
  306.           MODEM.INIT.COMMAND$, _
  307.           MODEM.INIT.WAIT.TIME, _
  308.           MODEM.OFFHOOK, _
  309.           MODEM.RESET.COMMAND$, _
  310.           MODEM.STATUS.REGISTER, _
  311.           MSB, _
  312.           MULTI.LINK.PRESENT, _
  313.           MUSIC, _
  314.           N$, _
  315.           NET.MAIL$, _
  316.           NETWORK.TYPE, _
  317.           NEW.FILES.CHECK, _
  318.           NEW.MESSAGES, _
  319.           NEW.PRIVATE.MSGS.SECURITY, _
  320.           NEW.PUBLIC.MSGS.SECURITY, _
  321.           NEW.USER.BELL, _
  322.           NEW.USER.CASE, _
  323.           NEW.USER.DEFAULT.MODE, _
  324.           NEW.USER.DEFAULT.PROTOCOL$, _
  325.           NEW.USER.GRAPHICS$, _
  326.           NEW.USER.LINE.FEEDS, _
  327.           NEW.USER.MARGINS, _
  328.           NEW.USER.NULLS, _
  329.           NEW.USER.QUESTIONNAIRE$, _
  330.           NEWUSER.FILE$, _
  331.           NEWUSER.SETS.DEFAULTS, _
  332.           NEXT.MESSAGE.RECORD, _
  333.           NG$, _
  334.           NO, _
  335.           NO.ADVANCE, _
  336.           NODE.ID$, _
  337.           NODE.RECORD.INDEX, _
  338.           NODE.WORK.FILE$, _
  339.           NON.STOP, _
  340.           NON.STOP.SAVE, _
  341.           NOT.CTS, _
  342.           NUL$, _
  343.           NULLS, _
  344.           NUM.CATEGORIES, _
  345.           OK, _
  346.           OLD.DAT$, _
  347.           OMIT.MAIN.DIRECTORY$, _
  348.           OPT.SEC(1), _
  349.           ORIG.CALLERS$, _
  350.           ORIG.COMMANDS$, _
  351.           ORIG.CONFIG$, _
  352.           ORIG.MESSAGE.FILE$, _
  353.           ORIG.USER.FILE$, _
  354.           ORIG.USER.FILE.INDEX, _
  355.           OVERWRITE.SECURITY.LEVEL, _
  356.           PAGE.LENGTH, _
  357.           PAGING.PRINTER.SUPPORT$, _
  358.           PARSE.OFF, _
  359.           PASSWORD$, _
  360.           PASSWORD.SAVE$, _
  361.           PASSWORD.FAILED, _
  362.           PASSWORDS.FILE$, _
  363.           PERSONAL.BEGIN, _
  364.           PERSONAL.CONCAT, _
  365.           PERSONAL.DIR$, _
  366.           PERSONAL.DRVPATH$, _
  367.           PERSONAL.LEN, _
  368.           PERSONAL.PROTOCOL$, _
  369.           PRELOG$, _
  370.           PRESENT.OPTS$, _
  371.           PRESS.ENTER$, _
  372.           PRESS.ENTER.EXPERT$, _
  373.           PREV.PUI$, _
  374.           PRINTER, _
  375.           PRIVATE.READ.SEC, _
  376.           PRIVATE.DOOR, _
  377.           PROMPT.BELL, _
  378.           PROMPT.HASH$, _
  379.           PROMPT.INDIV$, _
  380.           PROTOCOL.PATH$, _
  381.           PUBLIC.READ.SEC, _
  382.           Q, _
  383.           Q!, _
  384.           QUES.PATH$, _
  385.           QUESTIONNAIRE.ABORTED, _
  386.           QUIT.LIST$, _
  387.           QUIT.PROMPT.EXPERT$, _
  388.           QUIT.PROMPT.NOVICE$, _
  389.           RBBS.BAT$, _
  390.           RBBS.NAME$, _
  391.           RCTTY.BAT$, _
  392.           RECYCLE.TO.DOS, _
  393.           RECYCLE.WAIT, _
  394.           REDIRECT.IO.METHOD, _
  395.           REG.DATE$, _
  396.           REGISTRATION.PROGRAM$, _
  397.           RELIABLE.MODE, _
  398.           REMEMBER.NEW.USERS, _
  399.           REMIND.FILE.TRANSFERS, _
  400.           REMIND.PROFILE, _
  401.           REMOTE.ECHO, _
  402.           REPLY, _
  403.           REQ.QUES.ANSWERED, _
  404.           REQUIRE.NON.ASCII, _
  405.           REQUIRED.QUESTIONNAIRE$, _
  406.           REQUIRED.RINGS, _
  407.           RESTRICT.BY.DATE, _
  408.           RESTRICT.VALID.CMDS, _
  409.           RET, _
  410.           RET.ERL, _
  411.           RETURN.LINE.FEED$, _
  412.           RIGHT.MARGIN, _
  413.           RTS$, _
  414.           S, _
  415.           SEC.CHANGE.MSG, _
  416.           SECONDS.PER.SESSION!, _
  417.           SECURITY.LEVEL$, _
  418.           SECURITY.EXEMPT.FROM.EPILOG, _
  419.           SHARE.IT, _
  420.           SHOOT.YOURSELF, _
  421.           SHOW.SECTION, _
  422.           SIZE.OF.STACK, _
  423.           SKIP.FILES.LOGON, _
  424.           SL, _
  425.           SL.CATEGORIZE.UPLOADS, _
  426.           SNOOP, _
  427.           SQ, _
  428.           SSS, _
  429.           START.HASH, _
  430.           START.INDIV, _
  431.           START.OFFICE.HOURS, _
  432.           START.TIME, _
  433.           STOP.INTERRUPTS, _
  434.           SUBDIR$(), _
  435.           SUBDIR.COUNT, _
  436.           SUBDIR.INDEX, _
  437.           SUBROUTINE.PARAMETER, _
  438.           SURVIVE.NOUSER.ROOM, _
  439.           SWITCH.BACK, _
  440.           SYSOP, _
  441.           SYSOP.ANNOY, _
  442.           SYSOP.AVAILABLE, _
  443.           SYSOP.FIRST.NAME$, _
  444.           SYSOP.LAST.NAME$, _
  445.           SYSOP.MENU.SECURITY.LEVEL, _
  446.           SYSOP.NEXT, _
  447.           SYSOP.PASSWORD.1$, _
  448.           SYSOP.PASSWORD.2$, _
  449.           SYSOP.SECURITY.LEVEL, _
  450.           SYSTEM.OPTS$, _
  451.           TALK.TO.MODEM.AT$, _
  452.           TCA!, _
  453.           TEMP.MAX.PER.DAY, _
  454.           TEMP.PASSWORD$, _
  455.           TEMP.REG.PERIOD, _
  456.           TEMP.SECURITY.LEVEL, _
  457.           TEMP.TIME.ALLOWED, _
  458.           TEST.PARITY, _
  459.           TESTED.INTEGER.VALUE, _
  460.           TIM$, _
  461.           TIME.CREDITS!, _
  462.           TIME.LOGGED.ON$, _
  463.           TIME.TO.DROP.TO.DOS, _
  464.           TIME.TO.DROP.TO.DOS!, _
  465.           TIMES.LOGGED.ON, _
  466.           TOGGLE.ONLY, _
  467.           TRANSFER.FUNCTION, _
  468.           TRANSFER.OPTIONS$, _
  469.           TRASHCAN.FILE$, _
  470.           TRUE, _
  471.           TURBO.RBBS, _
  472.           TURN.PRINTER.OFF, _
  473.           UPCAT.HELP$, _
  474.           UPLOAD.DIR.CHECK$, _
  475.           UPLOAD.DIRECTORY$, _
  476.           UPLOAD.DRIVE.FILE$, _
  477.           UPLOAD.PATH$, _
  478.           UPLOAD.SUBDIR$, _
  479.           UPLOAD.TIME.FACTOR!, _
  480.           UPLOAD.TO.SUBDIR, _
  481.           UPLOADS, _
  482.           UPPER.CASE, _
  483.           USE.BASIC.WRITES, _
  484.           USE.DEVICE.DRIVER$, _
  485.           USE.EXTERNAL.XMODEM, _
  486.           USE.EXTERNAL.YMODEM, _
  487.           USE.TPUT, _
  488.           USER.BLOCK.LOCK, _
  489.           USER.DOWNLOADS$, _
  490.           USER.FILE.INDEX, _
  491.           USER.FILE.LOCK, _
  492.           USER.LOCATION$, _
  493.           USER.LOGON.TIME!, _
  494.           USER.NAME$, _
  495.           USER.OPTIONS$, _
  496.           USER.RECORD$, _
  497.           USER.SECURITY.LEVEL, _
  498.           USER.SECURITY.SAVE, _
  499.           USER.TRANSFER.DEFAULT$, _
  500.           USER.UPLOADS$, _
  501.           UTIL.OPTS$, _
  502.           VERSION.ID$, _
  503.           VIOLATION$, _
  504.           VIOLATIONS.THIS.SESSION, _
  505.           WAIT.BEFORE.DISCONNECT, _
  506.           WAIT.EXPIRED, _
  507.           WELCOME.FILE$, _
  508.           WELCOME.FILE.DRV.PATH$, _
  509.           WELCOME.INTERRUPTABLE, _
  510.           WORK.ARA(1), _
  511.           WRAP.CALLERS.FILE$, _
  512.           WXMODEM.SUPPORT, _
  513.           XFER.SUPPORT, _
  514.           Y$, _
  515.           YES, _
  516.           XOFF$, _
  517.           XOFF.ED, _
  518.           XON$, _
  519.           XON.XOFF, _
  520.           Z$
  521.